package com.example.springmvcstudy.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/a")
public class ArticleController {

    @RequestMapping("/1")
    public Object a1(){
        Map<String, Object> map = new HashMap<>();
        map.put("a", 123);
        map.put("b", true);
        map.put("c", "abc");
        return map;
    }
}
